<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>canvas柱状图绘制</title>
    <style>
       html,body{
          margin : 0;
          padding:0;
       }
       canvas{
          background-color:white;
       }
    </style>
</head>
<body>
    <canvas id="canvas" height="800" width="1200"></canvas>
    <script src="bar.js"></script>
</body>
</html>
